var htmlSize=document.documentElement.clientWidth||document.body.clientWidth;
var dom=document.getElementsByTagName("html")[0];
dom.style.fontSize=htmlSize/120+"px";
window.addEventListener("resize",function(e){
	var htmlSize=document.documentElement.clientWidth||document.body.clientWidth;
	dom.style.fontSize=htmlSize/120+"px";
});
//页面加载时
window.onload=function(){
	var a=document.getElementsByTagName("a")[0];
	var hidden=document.getElementsByClassName("nav-left-hid-tym")[0];
	a.onmouseover=function(){
		hidden.style.display="block";
	}
	a.onmouseout=function(){
		hidden.style.display="none";
	}
	var myjd=document.getElementsByClassName("myjd-tym")[0];
	var hidden1=document.getElementsByClassName("nav-right-ul-tym")[0];
	myjd.onmouseover=function(){
		hidden1.style.display="block";
	}
	myjd.onmouseout=function(){
		hidden1.style.display="none";
	}
	var caigou=document.getElementsByClassName("caigou-tym")[0];
	var hidden2=document.getElementsByClassName("nav-right-ul1-tym")[0];
	caigou.onmouseover=function(){
		hidden2.style.display="block";
	}
	caigou.onmouseout=function(){
		hidden2.style.display="none";
	}
	var kf=document.getElementsByClassName("kf-tym")[0];
	var hidden3=document.getElementsByClassName("nav-right-ul2-tym")[0];
	kf.onmouseover=function(){
		hidden3.style.display="block";
	}
	kf.onmouseout=function(){
		hidden3.style.display="none";
	}
	var daohan=document.getElementsByClassName("daohan-tym")[0];
	var hidden4=document.getElementsByClassName("nav-right-ul3-tym")[0];
	daohan.onmouseover=function(){
		hidden4.style.display="block";
	}
	daohan.onmouseout=function(){
		hidden4.style.display="none";
	}
	var phone=document.getElementsByClassName("phone-tym")[0];
	var hidden5=document.getElementsByClassName("nav-right-ul4-tym")[0];
	phone.onmouseover=function(){
		hidden5.style.display="block";
	}
	phone.onmouseout=function(){
		hidden5.style.display="none";
	}
}